home *** CD-ROM | disk | FTP | other *** search
/ The Programmer Disk / The Programmer Disk (Microforum).iso / xpro / extra / pro13 / isxdigit.c < prev    next >
C/C++ Source or Header  |  1993-02-10  |  297b  |  21 lines

  1. /*
  2.     isxdigit.C
  3.  
  4.     Copyright (C) 1993, Geoff Friesen B.Sc.
  5.     All rights reserved.
  6. */
  7.  
  8. #define    INCL_ISXDIGIT
  9.  
  10. #ifndef INCL_ISALNUM
  11. #include "isalnum.C"
  12. #endif
  13.  
  14. #ifndef INCL_TOUPPER
  15. #include "toupper.C"
  16. #endif
  17.  
  18. int isxdigit (int c)
  19. {
  20.    return (isalnum (c) && toupper (c) <= 'F');
  21. }